package com.ytzl.itrip.dao.mapper;
import com.ytzl.itrip.beans.model.ItripHotelOrder;
import com.ytzl.itrip.beans.model.vo.*;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ItripHotelOrderMapper {

	public ItripHotelOrderRoomVo getpersonalorderroominfo(String orderId);

	public PersonalOrderInfoVo getpersonalorderinfo(@Param(value = "orderId")String orderId)throws Exception;

	public ItripHotelOrderRoomVo getByOrderId(@Param(value = "orderId") Long orderId)throws Exception;

	public ItripHotelOrder getById(@Param(value = "id") Long id)throws Exception;

	public List<ItripHotelOrder>	getListByMap(Map<String, Object> param)throws Exception;

	public Integer getCountByMap(Map<String, Object> param)throws Exception;

	public Integer save(ItripHotelOrder itripHotelOrder)throws Exception;

	public Integer modify(ItripHotelOrder itripHotelOrder)throws Exception;

	public Integer removeById(@Param(value = "id") Long id)throws Exception;

	public BookBeforeOrderInfoVo getpreorderinfo(ValidateRoomStoreVo validateRoomStoreVo);

    public List<OrderLinkUserVo> queryLinkUserList(@Param("userId") Long userId,
												   @Param("linkname") String[] linkname)throws Exception;
}
